package com.wyc.staservice.client;


import com.wyc.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-edu")
public interface CourseClient {

    //查询某一天注册人数
    @GetMapping("/edu/course/countCourse/{day}")
    public R countCourse(@PathVariable("day") String day);
}
